Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/Spam Detection Demo #14

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Feat/Spam Detection Demo #14

merged 4 commits into from
Jun 13, 2024

Conversation

jcabrero
Copy link
Member

Adding Spam Detection Demo + Few Chores:

1 ) Added Spam Detection Demo working on the network.
2 ) Added Logistic Regression as a model to work with.
3 ) Added nillion_python_helpers and removed the helpers/ folders to make it easy to work with.

Copy link
Contributor

@mathias-nillion mathias-nillion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, lgtm!

examples/linear_regression/network/compute.py Outdated Show resolved Hide resolved
@@ -34,3 +34,21 @@ def forward(self, x: na.NadaArray) -> na.NadaArray:
if self.intercept is None:
return self.coef @ x
return self.coef @ x + self.intercept


class LogisticRegression(LinearRegression):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcabrero don't forget to add to __ all __ btw

@jcabrero jcabrero merged commit 8941277 into main Jun 13, 2024
4 checks passed
@jcabrero jcabrero deleted the feat/add_spam_detection branch June 13, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants